Skip to content

Fix "Log4j API could not find a logging provider" - #312

Draft
bact wants to merge 1 commit into
spdx:masterfrom
bact:dep-log4j-to-slf4j
Draft

Fix "Log4j API could not find a logging provider"#312
bact wants to merge 1 commit into
spdx:masterfrom
bact:dep-log4j-to-slf4j

Conversation

@bact

@bact bact commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

When running mvn verify, got this error message:

main ERROR Log4j API could not find a logging provider.

Apache POI (used by the spreadsheet store) uses log4j-api.
Our project uses slf4j-simple provider, so add log4j-to-slf4j as adapter, to fix the error.

Signed-off-by: Arthit Suriyawongkul <[email protected]>
@bact bact added the dependencies Pull requests that update a dependency file label Jul 31, 2026
@bact
bact requested a review from goneall July 31, 2026 09:47
@bact bact mentioned this pull request Jul 31, 2026
25 tasks
@goneall

goneall commented Jul 31, 2026

Copy link
Copy Markdown
Member

I recall a past issue where it was requested that we not specify a specific logging provider. That may have been an issue with a library, however (it was some time ago).

Before merging this in, we should find the previous issue and make sure this change doesn't re-introduce it.

@bact
bact marked this pull request as draft July 31, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants